- if @publications.present?
  .posts
    = render @publications
    = paginate @publications
- else
  %p= t 'no_data'